// Proving Grounds Custom Object Types

beginscendatascript;

// --- custom floors ---

begindefinefloor 135;
	import = 3;
	fl_name = "Cave Floor (nm)";
	fl_special_property = 8;
	fl_special_strength = 12;

begindefinefloor 136;
	import = 1;
	fl_name = "Cave Floor (glow)";
	fl_light_radius = 3;

begindefinefloor 137;
	import = 2;
	fl_name = "Cave Floor (nm/g)";
	fl_light_radius = 3;
	fl_special_property = 8;
	fl_special_strength = 12;

begindefinefloor 138;
	import = 95;
	fl_special_property = 3;
	fl_special_strength = 10;
	fl_shortcut_key = -1;

// --- custom terrain ---

begindefineterrain 468;
	import = 146;
	te_name = "Herbs Shrub";
	te_can_look_at = 1;
	te_default_script = "herbs";

begindefineterrain 469;
	import = 268;
	te_light_radius = 1;
	te_full_move_block = 0;

begindefineterrain 470;
	clear;
	te_name = "Hell Light";
	te_which_sheet = 502;
	te_which_icon = 0;
	te_ed_which_sheet = 501;
	te_ed_which_icon = 0;
	te_draw_on_automap = 1;
	te_anim_steps = 4;
	te_move_block_n = 1;
	te_move_block_w = 1;
	te_move_block_s = 1;
	te_move_block_e = 1;
	te_light_radius = 5;

begindefineterrain 471;
	clear;
	te_name = "Light Pillar";
	te_which_sheet = 503;
	te_which_icon = 0;
	te_ed_which_sheet = 501;
	te_ed_which_icon = 1;
	te_draw_on_automap = 1;
	te_anim_steps = 4;
	te_move_block_n = 1;
	te_move_block_w = 1;
	te_move_block_s = 1;
	te_move_block_e = 1;
	te_light_radius = 6;

begindefineterrain 472;
	import = 143;
	te_name = "Herbs Patch";
	te_can_look_at = 1;
	te_default_script = "herbs";

begindefineterrain 473;
	import = 204;
	te_which_sheet = 504;
	te_which_icon = 0;
	te_ed_which_sheet = 501;
	te_ed_which_icon = 2;

begindefineterrain 474;
	te_which_sheet = 504;
	te_which_icon = 1;
	te_ed_which_sheet = 501;
	te_ed_which_icon = 3;

// --- custom items ---

begindefineitem 450;
	import = 82;
	it_name = "Staff";
	it_full_name = "Werdna's Staff";
	it_damage_per_level = 10;
	it_bonus = 3;
	it_value = 7500;
	it_weight = 40;
	it_identified = 0;
	it_ability_1 = 86;
	it_ability_str_1 = 5;
	it_magic = 1;

begindefineitem 451;
	import = 58;
	it_full_name = "Sword of Trebor";
	it_bonus = 7;
	it_value = 5000;
	it_magic = 1;
	it_identified = 0;
	it_ability_1 = 70;
	it_ability_str_1 = 5;
	it_ability_2 = 88;
	it_ability_str_2 = 2;

begindefineitem 452;
	clear;
	it_name = "Amulet";
	it_full_name = "Werdna's Amulet";
	it_variety = 19;
	it_floor_which_sheet = 1041;
	it_floor_which_icon = 9;
	it_inventory_icon = 9;
	it_protection = 20;
	it_ability_1 = 207;
	it_ability_str_1 = 10;
	it_ability_2 = 86;
	it_ability_str_2 = 5;
	it_ability_3 = 54;
	it_ability_str_3 = 10;
	it_special_class = 99;
	it_value = 0;
	it_weight = 10;
	it_identified = 0;
	it_magic = 1;
	it_cursed = 1;

begindefineitem 453;
	clear;
	it_name = "Ring";
	it_full_name = "Ring of Healing";
	it_variety = 18;
	it_floor_which_sheet = 1018;
	it_floor_which_icon = 1;
	it_inventory_icon = 4;
	it_value = 2000;
	it_ability_1 = 86;
	it_ability_str_1 = 10;
	it_identified = 0;
	it_magic = 1;

begindefineitem 454;
	import = 335;
	it_name = "Robe";
	it_full_name = "Werdna's Robe";
	it_value = 3500;
	it_weight = 50;
	it_bonus = 10;
	it_identified = 0;

begindefineitem 455;
	import = 58;
	it_full_name = "Blade Cusinart'";
	it_damage_per_level = 3;
	it_magic = 1;
	it_bonus = 9;
	it_value = 3000;
	it_weight = 60;
	it_identified = 0;

begindefineitem 456;
	import = 58;
	it_full_name = "Murasama Blade";
	it_bonus = 7;
	it_value = 10000;
	it_magic = 1;
	it_weight = 90;
	it_identified = 0;
	it_ability_1 = 1;
	it_ability_str_1 = 5;
	it_ability_2 = 50;
	it_ability_str_2 = 4;

begindefineitem 457;
	import = 38;
	it_name = "Armor";
	it_full_name = "Lords Garb";
	it_identified = 0;
	it_bonus = 40;
	it_protection = 60;
	it_encumbrance = 1;
	it_value = 10000;
	it_magic = 1;
	it_ability_1 = 86;
	it_ability_str_1 = 8;
	it_ability_2 = 88;
	it_ability_str_2 = 20;

begindefineitem 458;
	import = 52;
	it_name = "Long Dagger";
	it_full_name = "Thieves Dagger";
	it_identified = 0;
	it_value = 2500;
	it_magic = 1;
	it_ability_1 = 16;
	it_ability_str_1 = 3;
	it_ability_2 = 61;
	it_ability_str_2 = 3;

begindefineitem 459;
	import = 57;
	it_full_name = "Were Slayer";
	it_identified = 0;
	it_bonus = 3;
	it_value = 1200;
	it_magic = 1;
	it_ability_1 = 74;
	it_ability_str_1 = 10;
	it_ability_2 = 58;
	it_ability_str_2 = 5;

begindefineitem 460;
	import = 57;
	it_full_name = "Dragon Slayer";
	it_identified = 0;
	it_bonus = 3;
	it_value = 1200;
	it_magic = 1;
	it_ability_1 = 78;
	it_ability_str_1 = 10;
	it_ability_2 = 57;
	it_ability_str_2 = 5;

begindefineitem 461;
	import = 38;
	it_full_name = "Chain Pro Fire";
	it_identified = 0;
	it_value = 5000;
	it_ability_1 = 55;
	it_ability_str_1 = 15;

// --- custom creatures ---

begindefinecreature 234;
	import = 101;
	cr_name = "Dragon Zombie";
	cr_level = 38;
	cr_which_sheet = 514;
	cr_which_sheet_upper = 513;
	cr_what_stat_adjust 0 = 4;
	cr_amount_stat_adjust 0 = 6;
	cr_hp_bonus = 100;
	cr_natural_armor = 30;
	cr_default_attitude = 4;
	cr_species = 8;
	cr_attack_1 = 6;
	cr_attack_1_type = 2;
	cr_attack_2 = 4;
	cr_attack_3 = 4;
	cr_attack_23_type = 1;
	cr_immunities 0 = 0;
	cr_immunities 2 = 0;
	cr_immunities 3 = 0;

begindefinecreature 235;
	import = 206;
	cr_name = "Dwarven Miner";
	cr_level = 28;
	cr_default_attitude = 2;

begindefinecreature 236;
	import = 207;
	cr_name = "Dwarven Foreman";
	cr_level = 35;
	cr_default_attitude = 2;

begindefinecreature 237;
	import = 208;
	cr_name = "Dwarven Surveyor";
	cr_level = 32;
	cr_default_attitude = 2;

begindefinecreature 238;
	clear;
	cr_name = "Vorpal Bunny";
	cr_which_sheet = 512;
	cr_small_or_large_template = 0;
	cr_level = 20;
	cr_hp_bonus = 20;
	cr_default_attitude = 4;
	cr_species = 6;
	cr_natural_armor = 25;
	cr_ap_bonus = 3;
	cr_attack_1 = 6;
	cr_attack_1_type = 2;
	cr_what_stat_adjust 0 = 28;
	cr_amount_stat_adjust 0 = 15;
	cr_immunities 1 = 100;

begindefinecreature 239;
	import = 5;
	cr_name = "Samurai";
	cr_level = 20;
	cr_default_attitude = 4;
	cr_ap_bonus = 1;
	cr_what_stat_adjust 0 = 4;
	cr_amount_stat_adjust 0 = 5;
	cr_what_stat_adjust 1 = 11;
	cr_amount_stat_adjust 1 = 5;
	cr_what_stat_adjust 2 = 21;
	cr_amount_stat_adjust 2 = 2;
	cr_what_stat_adjust 3 = 25;
	cr_amount_stat_adjust 3 = 2;
	cr_what_stat_adjust 4 = 27;
	cr_amount_stat_adjust 4 = 2;

begindefinecreature 240;
	clear;
	cr_name = "Werdna";
	cr_default_script = "werdna";
	cr_which_sheet = 510;
	cr_small_or_large_template = 1;
	cr_level = 45;
	cr_hp_bonus = 100;
	cr_sp_bonus = 100;
	cr_default_attitude = 4;
	cr_species = 0;
	cr_natural_armor = 20;
	cr_ap_bonus = 1;
	cr_default_strategy = 1;
	cr_what_stat_adjust 0 = 2;
	cr_amount_stat_adjust 0 = 5;
	cr_what_stat_adjust 1 = 5;
	cr_amount_stat_adjust 1 = 15;
	cr_what_stat_adjust 2 = 11;
	cr_amount_stat_adjust 2 = 20;
	cr_what_stat_adjust 3 = 18;
	cr_amount_stat_adjust 3 = 10;
	cr_what_stat_adjust 4 = 25;
	cr_amount_stat_adjust 4 = 10;
	cr_start_item 0 = 454;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 450;
	cr_start_item_chance 1 = 100;
	cr_immunities 0 = 20;
	cr_immunities 1 = 20;
	cr_immunities 2 = 45;
	cr_immunities 3 = 45;
	cr_immunities 4 = 15;
	cr_immunities 5 = 10;

begindefinecreature 241;
	clear;
	cr_name = "Trebor";
	cr_which_sheet = 1572;
	cr_small_or_large_template = 0;
	cr_level = 50;
	cr_hp_bonus = 750;
	cr_species = 0;
	cr_natural_armor = 40;
	cr_ap_bonus = 2;
	cr_what_stat_adjust 0 = 0;
	cr_amount_stat_adjust 0 = 5;
	cr_what_stat_adjust 1 = 4;
	cr_amount_stat_adjust 1 = 15;
	cr_what_stat_adjust 2 = 10;
	cr_amount_stat_adjust 2 = 10;
	cr_what_stat_adjust 3 = 18;
	cr_amount_stat_adjust 3 = 10;
	cr_what_stat_adjust 4 = 21;
	cr_amount_stat_adjust 4 = 10;
	cr_start_item 0 = 451;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 358;
	cr_start_item_chance 1 = 100;
	cr_start_item 2 = 443;
	cr_start_item_chance 2 = 100;
	cr_start_item 3 = 43;
	cr_start_item_chance 3 = 100;
	cr_immunities 0 = 20;
	cr_immunities 1 = 20;
	cr_immunities 2 = 35;
	cr_immunities 3 = 70;
	cr_immunities 4 = 40;
	cr_immunities 5 = 20;

begindefinecreature 242;
	import = 48;
	cr_name = "Murphy's Ghost";
	cr_default_script = "basicdec";
	cr_level = 40;
	cr_hp_bonus = 100;
	cr_natural_armor = 30;
	cr_attack_1 = 1;
	cr_special_abil = 8;
	cr_immunities 0 = 100;
	cr_immunities 1 = 100;
	cr_immunities 2 = 100;
	cr_immunities 3 = 100;
	cr_immunities 4 = 100;

begindefinecreature 243;
	import = 18;
	cr_name = "Old Man";
	cr_default_script = "oldman";

begindefinecreature 246;
	clear;
	cr_name = "Troll";
	cr_level = 28;
	cr_default_attitude = 4;
	cr_species = 12;
	cr_natural_armor = 15;
	cr_attack_1 = 6;
	cr_attack_1_type = 4;
	cr_attack_2 = 3;
	cr_attack_3 = 3;
	cr_attack_23_type = 2;
	cr_which_sheet = 515;
	cr_small_or_large_template = 0;
	cr_what_stat_adjust 0 = 0;
	cr_amount_stat_adjust 0 = 5;
	cr_start_item 0 = 453;
	cr_start_item_chance 0 = 95;

// redefined monsters (mainly renames...)

begindefinecreature 255;
	import = 197;
begindefinecreature 197;
	cr_name = "Creeping Coins";
	cr_level = 18;

begindefinecreature 255;
	import = 21;
begindefinecreature 21;
	cr_name = "Orc";
	cr_level = 20;

begindefinecreature 255;
	import = 195;
begindefinecreature 195;
	cr_name = "Bubbly Slime";
	cr_level = 19;

begindefinecreature 255;
	import = 15;
begindefinecreature 15;
	cr_level = 15;
	cr_default_attitude = 4;
	cr_what_stat_adjust 0 = 11;
	cr_amount_stat_adjust 0 = 8;

begindefinecreature 255;
	import = 129;
begindefinecreature 129;
	cr_level = 15;

begindefinecreature 255;
	import = 13;
begindefinecreature 13;
	cr_name = "Priest";
	cr_level = 15;

begindefinecreature 255;
	import = 209;
begindefinecreature 209;
	cr_name = "Undead Kobold";
	cr_level = 25;

begindefinecreature 255;
	import = 93;
begindefinecreature 93;
	cr_name = "Gas Cloud";
	cr_level = 19;

begindefinecreature 255;
	import = 198;
begindefinecreature 198;
	cr_name = "Creeping Crud";
	cr_level = 19;

begindefinecreature 255;
	import = 43;
begindefinecreature 43;
	cr_level = 19;

begindefinecreature 255;
	import = 7;
begindefinecreature 7;
	cr_name = "Rogue";
	cr_level = 20;

begindefinecreature 255;
	import = 133;
begindefinecreature 133;
	cr_name = "Ninja";
	cr_level = 19;
	cr_default_attitude = 4;
	cr_what_stat_adjust 0 = 10;
	cr_amount_stat_adjust 0 = 3;
	cr_what_stat_adjust 1 = 28;
	cr_amount_stat_adjust 1 = 2;

begindefinecreature 255;
	import = 192;
begindefinecreature 192;
	cr_name = "Capybara";
	cr_level = 21;

begindefinecreature 255;
	import = 47;
begindefinecreature 47;
	cr_name = "Rotting Corpse";
	cr_level = 16;

begindefinecreature 255;
	import = 57;
begindefinecreature 57;
	cr_name = "Dragon Fly";
	cr_level = 17;

begindefinecreature 255;
	import = 73;
begindefinecreature 73;
	cr_name = "Highwayman";
	cr_level = 17;

begindefinecreature 255;
	import = 69;
begindefinecreature 69;
	cr_name = "Huge Spider";
	cr_level = 19;

begindefinecreature 255;
	import = 123;
begindefinecreature 123;
	cr_name = "Champ Samurai";
	cr_level = 18;
	cr_what_stat_adjust 0 = 21;
	cr_amount_stat_adjust 0 = 3;

begindefinecreature 255;
	import = 124;
begindefinecreature 124;
	cr_name = "Bushwacker";
	cr_level = 18;

begindefinecreature 255;
	import = 38;
begindefinecreature 38;
	cr_name = "Giant Toad";

begindefinecreature 255;
	import = 191;
begindefinecreature 191;
	cr_name = "Coyote";
	cr_level = 15;

begindefinecreature 255;
	import = 19;
begindefinecreature 19;
	cr_name = "Thief";
	cr_level = 16;
	cr_ap_bonus = 1;
	cr_default_script = "thief";

begindefinecreature 255;
	import = 46;
begindefinecreature 46;
	cr_level = 20;

begindefinecreature 255;
	import = 176;
begindefinecreature 176;
	cr_name = "Wererat";

begindefinecreature 255;
	import = 11;
begindefinecreature 11;
	cr_name = "Priestess";
	cr_level = 18;

begindefinecreature 255;
	import = 120;
begindefinecreature 120;
	cr_level = 20;

begindefinecreature 255;
	import = 131;
begindefinecreature 131;
	cr_name = "Swordsman";
	cr_level = 19;
	cr_default_attitude = 4;
	cr_what_stat_adjust 0 = 4;
	cr_amount_stat_adjust 0 = 3;
	cr_what_stat_adjust 1 = 21;
	cr_amount_stat_adjust 1 = 2;

begindefinecreature 255;
	import = 186;
begindefinecreature 186;
	cr_name = "Gaze Hound";
	cr_level = 18;
	cr_special_abil = 11;

begindefinecreature 255;
	import = 223;
begindefinecreature 223;
	cr_name = "Attack Dog";
	cr_level = 23;

begindefinecreature 255;
	import = 125;
begindefinecreature 125;
	cr_name = "Bishop";
	cr_level = 24;
	cr_what_stat_adjust 0 = 11;
	cr_amount_stat_adjust 0 = 8;
	cr_what_stat_adjust 1 = 12;
	cr_amount_stat_adjust 1 = 8;

begindefinecreature 255;
	import = 232;
begindefinecreature 232;
	cr_name = "Gravemist";
	cr_level = 22;

begindefinecreature 255;
	import = 32;
begindefinecreature 32;
	cr_level = 25;

begindefinecreature 255;
	import = 224;
begindefinecreature 224;
	cr_name = "Werewolf";
	cr_level = 27;

begindefinecreature 255;
	import = 84;
begindefinecreature 84;
	cr_name = "Medusalizard";
	cr_level = 18;

begindefinecreature 255;
	import = 145;
begindefinecreature 145;
	cr_name = "Gargoyle";
	cr_level = 22;

begindefinecreature 255;
	import = 193;
begindefinecreature 193;
	cr_name = "Were Bear";
	cr_level = 24;
	cr_special_abil = 11;
	cr_immunities 1 = 100;
	cr_immunities 4 = 100;

begindefinecreature 255;
	import = 169;
begindefinecreature 169;
	cr_name = "Boring Beatle";
	cr_level = 22;

begindefinecreature 255;
	import = 167;
begindefinecreature 167;
	cr_name = "Gas Dragon";
	cr_level = 24;

begindefinecreature 255;
	import = 80;
begindefinecreature 80;
	cr_name = "Weretiger";
	cr_level = 23;

begindefinecreature 255;
	import = 139;
begindefinecreature 139;
	cr_name = "Lifestealer";
	cr_level = 24;

begindefinecreature 255;
	import = 122;
begindefinecreature 122;
	cr_name = "Nightstalker";
	cr_level = 25;

begindefinecreature 255;
	import = 58;
begindefinecreature 58;
	cr_name = "Dragon Puppy";

begindefinecreature 255;
	import = 220;
begindefinecreature 220;
	cr_name = "Chimera";
	cr_level = 24;

begindefinecreature 255;
	import = 33;
begindefinecreature 33;
	cr_name = "Orge Lord";
	cr_level = 30;

begindefinecreature 255;
	import = 230;
begindefinecreature 230;
	cr_level = 27;

begindefinecreature 255;
	import = 227;
begindefinecreature 227;
	cr_name = "Wyvern";
	cr_level = 30;
	cr_hp_bonus = 180;

begindefinecreature 255;
	import = 64;
begindefinecreature 64;
	cr_name = "Will O' Wisp";
	cr_level = 28;

begindefinecreature 255;
	import = 60;
begindefinecreature 60;
	cr_name = "Bleeb";
	cr_level = 28;

begindefinecreature 255;
	import = 95;
begindefinecreature 95;
	cr_name = "Lesser Demon";
	cr_level = 26;

begindefinecreature 255;
	import = 39;
begindefinecreature 39;
	cr_name = "Earth Giant";
	cr_level = 28;

begindefinecreature 255;
	import = 87;
begindefinecreature 87;
	cr_level = 27;

begindefinecreature 255;
	import = 61;
begindefinecreature 61;
	cr_name = "Greater Demon";
	cr_level = 35;
	cr_hp_bonus = 150;

begindefinecreature 255;
	import = 101;
begindefinecreature 101;
	cr_name = "Fire Dragon";
	cr_level = 35;
	cr_hp_bonus = 300;

begindefinecreature 255;
	import = 174;
begindefinecreature 174;
	cr_name = "Fire Giant";
	cr_level = 35;
	cr_immunities 0 = 100;
	cr_hp_bonus = 150;

begindefinecreature 255;
	import = 173;
begindefinecreature 173;
	cr_name = "Maelific";
	cr_level = 33;
	cr_hp_bonus = 150;

begindefinecreature 255;
	import = 41;
begindefinecreature 41;
	cr_name = "Frost Giant";
	cr_level = 36;
	cr_immunities 1 = 100;

begindefinecreature 255;
	import = 211;
begindefinecreature 211;
	cr_name = "Raver Lord";
	cr_level = 38;
	cr_hp_bonus = 100;
	cr_start_item 0 = 42;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 457;
	cr_start_item_chance 1 = 10;
	cr_start_item 2 = 77;
	cr_start_item_chance 2 = 100;
	cr_start_item 3 = 456;
	cr_start_item_chance 3 = 10;
	cr_start_item 4 = 16;
	cr_start_item_chance 4 = 100;
	cr_start_item 5 = 3;
	cr_start_item_chance 5 = 100;
	cr_start_item 6 = 115;
	cr_start_item_chance 6 = 100;
	cr_start_item 7 = 228;
	cr_start_item_chance 7 = 100;

begindefinecreature 255;
	import = 49;
begindefinecreature 49;
	cr_name = "Vampire Lord";
	cr_hp_bonus = 160;
	cr_immunities 1 = 50;
	cr_immunities 2 = 50;
	cr_immunities 4 = 50;

begindefinecreature 255;
	import = 135;
begindefinecreature 135;
	cr_name = "Poison Giant";
	cr_level = 38;
	cr_which_sheet_upper = 1614;
	cr_immunities 4 = 100;

begindefinecreature 255;
	import = 172;
begindefinecreature 172;
	cr_name = "Flack";
	cr_level = 35;
	cr_hp_bonus = 120;

// redefined monsters (greater levels of defined)
// ----- misc -----
begindefinecreature 244;
	import = 69;
	cr_name = "Giant Spider";
	cr_level = 24;

begindefinecreature 245;
	import = 223;
	cr_name = "Killer Wolf";
	cr_level = 28;

// ----- mages -----
begindefinecreature 107;
	import = 15;
	cr_level = 20;
	cr_what_stat_adjust 0 = 11;
	cr_amount_stat_adjust 0 = 10;

begindefinecreature 108;
	import = 15;
	cr_level = 24;
	cr_what_stat_adjust 0 = 11;
	cr_amount_stat_adjust 0 = 12;
	cr_what_stat_adjust 1 = 25;
	cr_amount_stat_adjust 1 = 5;

begindefinecreature 109;
	import = 15;
	cr_name = "Arch Mage";
	cr_level = 28;
	cr_what_stat_adjust 0 = 11;
	cr_amount_stat_adjust 0 = 14;
	cr_what_stat_adjust 1 = 25;
	cr_amount_stat_adjust 1 = 7;
	cr_what_stat_adjust 2 = 27;
	cr_amount_stat_adjust 2 = 3;

begindefinecreature 110;
	import = 15;
	cr_level = 30;
	cr_hp_bonus = 75;
	cr_what_stat_adjust 0 = 11;
	cr_amount_stat_adjust 0 = 15;
	cr_what_stat_adjust 1 = 25;
	cr_amount_stat_adjust 1 = 9;
	cr_what_stat_adjust 2 = 27;
	cr_amount_stat_adjust 2 = 5;

begindefinecreature 111;
	import = 15;
	cr_name = "High Wizard";
	cr_level = 33;
	cr_hp_bonus = 100;
	cr_what_stat_adjust 0 = 11;
	cr_amount_stat_adjust 0 = 15;
	cr_what_stat_adjust 1 = 25;
	cr_amount_stat_adjust 1 = 10;
	cr_what_stat_adjust 2 = 27;
	cr_amount_stat_adjust 2 = 6;

begindefinecreature 112;
	import = 15;
	cr_name = "Arch Mage";
	cr_level = 36;
	cr_hp_bonus = 100;
	cr_what_stat_adjust 0 = 11;
	cr_amount_stat_adjust 0 = 17;
	cr_what_stat_adjust 1 = 25;
	cr_amount_stat_adjust 1 = 15;
	cr_what_stat_adjust 2 = 27;
	cr_amount_stat_adjust 2 = 10;

// ----- priests -----
begindefinecreature 22;
	import = 13;
	cr_level = 20;
	cr_what_stat_adjust 0 = 12;
	cr_amount_stat_adjust 0 = 10;

begindefinecreature 23;
	import = 13;
	cr_level = 24;
	cr_what_stat_adjust 0 = 12;
	cr_amount_stat_adjust 0 = 12;
	cr_start_item 0 = 31;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 461;
	cr_start_item_chance 1 = 10;
	cr_start_item 2 = 56;
	cr_start_item_chance 2 = 100;
	cr_start_item 3 = 127;
	cr_start_item_chance 3 = 100;
	cr_start_item 4 = 2;
	cr_start_item_chance 4 = 100;
	cr_start_item 5 = 16;
	cr_start_item_chance 5 = 100;
	cr_start_item 6 = 220;
	cr_start_item_chance 6 = 100;
	cr_start_item 7 = 16;
	cr_start_item_chance 7 = 100;

begindefinecreature 24;
	import = 13;
	cr_level = 28;
	cr_what_stat_adjust 0 = 12;
	cr_amount_stat_adjust 0 = 14;
	cr_what_stat_adjust 1 = 27;
	cr_amount_stat_adjust 1 = 5;
	cr_start_item 0 = 31;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 461;
	cr_start_item_chance 1 = 15;
	cr_start_item 2 = 56;
	cr_start_item_chance 2 = 100;
	cr_start_item 3 = 127;
	cr_start_item_chance 3 = 100;
	cr_start_item 4 = 2;
	cr_start_item_chance 4 = 100;
	cr_start_item 5 = 16;
	cr_start_item_chance 5 = 100;
	cr_start_item 6 = 220;
	cr_start_item_chance 6 = 100;
	cr_start_item 7 = 16;
	cr_start_item_chance 7 = 100;

begindefinecreature 25;
	import = 13;
	cr_name = "High Priest";
	cr_level = 32;
	cr_hp_bonus = 75;
	cr_what_stat_adjust 0 = 12;
	cr_amount_stat_adjust 0 = 16;
	cr_what_stat_adjust 1 = 27;
	cr_amount_stat_adjust 1 = 7;
	cr_what_stat_adjust 2 = 18;
	cr_amount_stat_adjust 2 = 5;
	cr_start_item 0 = 31;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 461;
	cr_start_item_chance 1 = 20;
	cr_start_item 2 = 56;
	cr_start_item_chance 2 = 100;
	cr_start_item 3 = 127;
	cr_start_item_chance 3 = 100;
	cr_start_item 4 = 2;
	cr_start_item_chance 4 = 100;
	cr_start_item 5 = 16;
	cr_start_item_chance 5 = 100;
	cr_start_item 6 = 220;
	cr_start_item_chance 6 = 100;
	cr_start_item 7 = 16;
	cr_start_item_chance 7 = 100;

begindefinecreature 26;
	import = 13;
	cr_name = "High Priest";
	cr_level = 36;
	cr_hp_bonus = 100;
	cr_what_stat_adjust 0 = 12;
	cr_amount_stat_adjust 0 = 18;
	cr_what_stat_adjust 1 = 27;
	cr_amount_stat_adjust 1 = 9;
	cr_what_stat_adjust 2 = 18;
	cr_amount_stat_adjust 2 = 7;
	cr_start_item 0 = 31;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 461;
	cr_start_item_chance 1 = 25;
	cr_start_item 2 = 56;
	cr_start_item_chance 2 = 100;
	cr_start_item 3 = 127;
	cr_start_item_chance 3 = 100;
	cr_start_item 4 = 2;
	cr_start_item_chance 4 = 100;
	cr_start_item 5 = 16;
	cr_start_item_chance 5 = 100;
	cr_start_item 6 = 220;
	cr_start_item_chance 6 = 100;
	cr_start_item 7 = 16;
	cr_start_item_chance 7 = 100;

// ----- ninjas -----
begindefinecreature 113;
	import = 133;
	cr_level = 21;
	cr_what_stat_adjust 0 = 10;
	cr_amount_stat_adjust 0 = 5;
	cr_what_stat_adjust 1 = 28;
	cr_amount_stat_adjust 1 = 4;

begindefinecreature 114;
	import = 133;
	cr_level = 24;
	cr_what_stat_adjust 0 = 10;
	cr_amount_stat_adjust 0 = 7;
	cr_what_stat_adjust 1 = 28;
	cr_amount_stat_adjust 1 = 6;

begindefinecreature 115;
	import = 133;
	cr_level = 27;
	cr_name = "Master Ninja";
	cr_what_stat_adjust 0 = 10;
	cr_amount_stat_adjust 0 = 9;
	cr_what_stat_adjust 1 = 28;
	cr_amount_stat_adjust 1 = 8;
	cr_what_stat_adjust 2 = 11;
	cr_amount_stat_adjust 2 = 5;

begindefinecreature 116;
	import = 133;
	cr_level = 29;
	cr_name = "High Ninja";
	cr_what_stat_adjust 0 = 10;
	cr_amount_stat_adjust 0 = 10;
	cr_what_stat_adjust 1 = 28;
	cr_amount_stat_adjust 1 = 10;
	cr_what_stat_adjust 2 = 11;
	cr_amount_stat_adjust 2 = 8;

begindefinecreature 117;
	import = 133;
	cr_level = 28;
	cr_hp_bonus = 50;
	cr_what_stat_adjust 0 = 10;
	cr_amount_stat_adjust 0 = 9;
	cr_what_stat_adjust 1 = 28;
	cr_amount_stat_adjust 1 = 9;
	cr_what_stat_adjust 2 = 11;
	cr_amount_stat_adjust 2 = 10;

begindefinecreature 118;
	import = 133;
	cr_level = 33;
	cr_hp_bonus = 100;
	cr_name = "The High Master";
	cr_what_stat_adjust 0 = 10;
	cr_amount_stat_adjust 0 = 12;
	cr_what_stat_adjust 1 = 28;
	cr_amount_stat_adjust 1 = 12;
	cr_what_stat_adjust 2 = 11;
	cr_amount_stat_adjust 2 = 12;

// ----- thieves -----
begindefinecreature 28;
	import = 19;
	cr_level = 20;
	cr_ap_bonus = 1;
	cr_what_stat_adjust 0 = 1;
	cr_amount_stat_adjust 0 = 2;

begindefinecreature 29;
	import = 19;
	cr_level = 24;
	cr_ap_bonus = 1;
	cr_what_stat_adjust 0 = 1;
	cr_amount_stat_adjust 0 = 3;
	cr_start_item 0 = 26;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 27;
	cr_start_item_chance 1 = 25;
	cr_start_item 2 = 51;
	cr_start_item_chance 2 = 100;
	cr_start_item 3 = 458;
	cr_start_item_chance 3 = 20;
	cr_start_item 4 = 2;
	cr_start_item_chance 4 = 50;
	cr_start_item 5 = 225;
	cr_start_item_chance 5 = 20;
	cr_start_item 6 = 272;
	cr_start_item_chance 6 = 5;
	cr_start_item 7 = 211;
	cr_start_item_chance 7 = 25;

begindefinecreature 30;
	import = 19;
	cr_level = 28;
	cr_ap_bonus = 2;
	cr_hp_bonus = 30;
	cr_what_stat_adjust 0 = 1;
	cr_amount_stat_adjust 0 = 4;
	cr_what_stat_adjust 1 = 19;
	cr_amount_stat_adjust 1 = 5;
	cr_start_item 0 = 26;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 27;
	cr_start_item_chance 1 = 25;
	cr_start_item 2 = 51;
	cr_start_item_chance 2 = 100;
	cr_start_item 3 = 458;
	cr_start_item_chance 3 = 40;
	cr_start_item 4 = 2;
	cr_start_item_chance 4 = 50;
	cr_start_item 5 = 225;
	cr_start_item_chance 5 = 20;
	cr_start_item 6 = 272;
	cr_start_item_chance 6 = 5;
	cr_start_item 7 = 211;
	cr_start_item_chance 7 = 25;

begindefinecreature 31;
	import = 19;
	cr_name = "Master Thief";
	cr_level = 33;
	cr_ap_bonus = 2;
	cr_hp_bonus = 45;
	cr_what_stat_adjust 0 = 1;
	cr_amount_stat_adjust 0 = 5;
	cr_what_stat_adjust 1 = 19;
	cr_amount_stat_adjust 1 = 10;

// ----- samurais -----
begindefinecreature 34;
	import = 239;
	cr_name = "Minor Daimyo";
	cr_level = 24;
	cr_ap_bonus = 1;
	cr_what_stat_adjust 0 = 4;
	cr_amount_stat_adjust 0 = 8;
	cr_what_stat_adjust 1 = 11;
	cr_amount_stat_adjust 1 = 8;
	cr_what_stat_adjust 2 = 21;
	cr_amount_stat_adjust 2 = 4;
	cr_what_stat_adjust 3 = 25;
	cr_amount_stat_adjust 3 = 4;
	cr_what_stat_adjust 4 = 27;
	cr_amount_stat_adjust 4 = 4;

begindefinecreature 35;
	import = 239;
	cr_name = "Hatamoto";
	cr_level = 28;
	cr_ap_bonus = 1;
	cr_what_stat_adjust 0 = 4;
	cr_amount_stat_adjust 0 = 12;
	cr_what_stat_adjust 1 = 11;
	cr_amount_stat_adjust 1 = 12;
	cr_what_stat_adjust 2 = 21;
	cr_amount_stat_adjust 2 = 6;
	cr_what_stat_adjust 3 = 25;
	cr_amount_stat_adjust 3 = 6;
	cr_what_stat_adjust 4 = 27;
	cr_amount_stat_adjust 4 = 6;

begindefinecreature 36;
	import = 239;
	cr_name = "Major Daimyo";
	cr_level = 33;
	cr_ap_bonus = 2;
	cr_what_stat_adjust 0 = 4;
	cr_amount_stat_adjust 0 = 16;
	cr_what_stat_adjust 1 = 11;
	cr_amount_stat_adjust 1 = 16;
	cr_what_stat_adjust 2 = 21;
	cr_amount_stat_adjust 2 = 8;
	cr_what_stat_adjust 3 = 25;
	cr_amount_stat_adjust 3 = 8;
	cr_what_stat_adjust 4 = 27;
	cr_amount_stat_adjust 4 = 8;

// ----- fighters -----
begindefinecreature 179;
	import = 131;
	cr_name = "Fighter";
	cr_level = 23;
	cr_what_stat_adjust 0 = 4;
	cr_amount_stat_adjust 0 = 4;
	cr_what_stat_adjust 1 = 21;
	cr_amount_stat_adjust 1 = 3;
	cr_start_item 0 = 36;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 37;
	cr_start_item_chance 1 = 20;
	cr_start_item 2 = 132;
	cr_start_item_chance 2 = 100;
	cr_start_item 3 = 133;
	cr_start_item_chance 3 = 8;
	cr_start_item 4 = 57;
	cr_start_item_chance 4 = 100;
	cr_start_item 5 = 460;
	cr_start_item_chance 5 = 25;
	cr_start_item 6 = 3;
	cr_start_item_chance 6 = 10;
	cr_start_item 7 = 225;
	cr_start_item_chance 7 = 4;

begindefinecreature 180;
	import = 131;
	cr_name = "Fighter";
	cr_level = 32;
	cr_hp_bonus = 50;
	cr_what_stat_adjust 0 = 4;
	cr_amount_stat_adjust 0 = 5;
	cr_what_stat_adjust 1 = 21;
	cr_amount_stat_adjust 1 = 5;
	cr_start_item 0 = 36;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 37;
	cr_start_item_chance 1 = 20;
	cr_start_item 2 = 132;
	cr_start_item_chance 2 = 100;
	cr_start_item 3 = 133;
	cr_start_item_chance 3 = 8;
	cr_start_item 4 = 57;
	cr_start_item_chance 4 = 100;
	cr_start_item 5 = 455;
	cr_start_item_chance 5 = 15;
	cr_start_item 6 = 3;
	cr_start_item_chance 6 = 10;
	cr_start_item 7 = 225;
	cr_start_item_chance 7 = 4;

begindefinecreature 181;
	import = 131;
	cr_name = "Fighter";
	cr_level = 27;
	cr_hp_bonus = 20;
	cr_what_stat_adjust 0 = 4;
	cr_amount_stat_adjust 0 = 5;
	cr_what_stat_adjust 1 = 21;
	cr_amount_stat_adjust 1 = 4;
	cr_start_item 0 = 36;
	cr_start_item_chance 0 = 100;
	cr_start_item 1 = 37;
	cr_start_item_chance 1 = 20;
	cr_start_item 2 = 132;
	cr_start_item_chance 2 = 100;
	cr_start_item 3 = 133;
	cr_start_item_chance 3 = 8;
	cr_start_item 4 = 57;
	cr_start_item_chance 4 = 100;
	cr_start_item 5 = 459;
	cr_start_item_chance 5 = 25;
	cr_start_item 6 = 3;
	cr_start_item_chance 6 = 10;
	cr_start_item 7 = 225;
	cr_start_item_chance 7 = 4;

// ----- bishops -----
begindefinecreature 27;
	import = 125;
	cr_level = 30;
	cr_what_stat_adjust 0 = 11;
	cr_amount_stat_adjust 0 = 16;
	cr_what_stat_adjust 1 = 12;
	cr_amount_stat_adjust 1 = 16;
	cr_what_stat_adjust 2 = 25;
	cr_amount_stat_adjust 2 = 5;
	cr_what_stat_adjust 3 = 27;
	cr_amount_stat_adjust 3 = 5;
